<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Public_Login_Default" %>
<%@ Register TagPrefix="tnet" Namespace="Deepcode.Flux.Core.UI.Controls" Assembly="Deepcode.Flux.Core" %>

<html>
<head runat="server">
    <title>Login</title>
	<link href="../../Asset/Style/GeneralStyle.css" rel="stylesheet" type="text/css" />

	<script language="javascript">
	// if( parent.frames[0] ){parent.location = self.location;}
	</script>

</head>
<body bgcolor="#f2f2f2">
<form id="form1" runat="server">
	
	<center>
	
	<asp:Image runat="server" ID="_logo"/><br/>
	<tnet:PanelBox runat="server" Title="Login" ID="mainPanel" Width="450">
	<tnet:PadBox runat="server">

	<table cellspacing="0" cellpadding="5" border="0" width="300" align="center">
	<tr><td colspan="2" align="left">
		Please login using your email address and the password you have been provided with.
		<asp:Panel ID="LoginErrors" Runat="server" Visible="False">
		<br/><font color="red">
		<b>Could not log you in with those credentials, please try again or contact your administrator</b>
		</font>
		</asp:Panel>
	</td></tr>
	<tr><td nowrap="true">Email Address:</td>
		<td width="100%"><asp:TextBox Runat="server" style="width:100%;" ID="loginEmail"/></td>
		</tr>
	<tr><td nowrap="true">Password:</td>
		<td width="100%"><asp:TextBox Runat="server" style="width:100%;" ID="loginPassword" TextMode="Password"/></td>
		</tr>
	<tr><td>&nbsp;</td>
		<td><asp:CheckBox Runat="server" ID="remember" Text="Remember my login details"/></td>
		</tr>
	<tr><td colspan="2" align="center">
		<asp:Button Runat="server" ID="btnLogin" Text="Login" Width="100px" OnClick="LoginClick"/>
		</td>
	</tr>
	</table>

	</tnet:PadBox>
	</tnet:PanelBox>
	
	</center>
</form>
</body>
</html>
